< Prev(J) / Next(K) > / View :

Filename: /text/swriter/guide/conditional_text2.xhp

(bookmark: bm_id3153108)
page counts
conditional text;page counts

ページ総数
条件付きテキスト; ページ総数

(variable: conditional_text2)Conditional Text for Page Counts
(variable: conditional_text2)ページ総数用の条件付き文書(hd_id3153108.1)

You can create a conditional text field that displays the word "pages" instead of "page" in conjunction with a page count field if your document contains more than one page.
条件付きテキストフィールドを使用すると、ページ総数フィールドが 1 ページだけのときは「page」と表示し、1 ページより多いときは「pages」と表示することも可能です。(英語の場合)(par_id3156228.3)

  1. Place the cursor in your document where you want to insert the page count.
    ページ総数を表示する場所にカーソルを置きます。(par_id3156257.4)

  2. Choose Insert - Fields - Page Count, and then enter a space.
    メニュー 挿入 → フィールド → ページ総数を選択して、スペースを入力します。(par_id3150513.5)

  3. Choose Insert - Fields - Other, and then click the Functions tab.
    挿入 → フィールド → その他を選択し、機能タブをクリックします。(par_id3150537.6)

  4. Click "Conditional text" in the Type list.
    フィールドタイプリストの「条件付きテキスト」をクリックします。(par_id3153166.9)

  5. Type Page > 1 in the Condition box.
    条件ボックスにPage > 1と入力します。(par_id3145256.7)

  6. Type Pages in the Then box.
    条件を満たすときボックスにPageと入力します。(par_id3145280.10)

  7. Type Page in the Else box.
    条件を満たさないときボックスに Page と入力します。(par_id3145305.11)

  8. Click Insert, and then click Close.
    挿入 をクリックして、閉じる をクリックします。(par_id3155535.8)

(embed text/shared/00/00000004.xhp#related : linkinfo)

(/embed text/shared/00/00000004.xhp#related)

(embed text/swriter/guide/conditional_text.xhp#conditional_text : linkinfo)

Conditional Text
条件付きテキスト(hd_id3155619.4)

(/embed text/swriter/guide/conditional_text.xhp#conditional_text)

(embed text/swriter/01/04090200.xhp#defining_conditions : linkinfo)

Defining Conditions
条件を設定する(hd_id3145828.1)

(/embed text/swriter/01/04090200.xhp#defining_conditions)

(embed text/swriter/guide/fields.xhp#fields : linkinfo)

About Fields
フィールドについて(hd_id3145576.3)

(/embed text/swriter/guide/fields.xhp#fields)


< Prev / Next >